# encoding=utf-8
#!/usr/sbin
#使用枚举做映射
from enum import Enum
class MatchKey(Enum):
    #对应列与序号的映射关系
    case_id = '0'
    descrption = '1'
    url = '2'
    method = '3'
    body = '4'
    isrun = '5'
    exceptres = '6'
    realres = '7'
    isok = '8'

if __name__ == '__main__':
    caseid = 'case_id'
    print(MatchKey[caseid].value)
